package com.weixing.mall.provider.model.enums;

import com.weixing.mall.base.enums.IBaseEnum;
import lombok.NoArgsConstructor;


/**
 * 积分商品状态
 */

@NoArgsConstructor
public enum GoodsPointStatusEnum implements IBaseEnum<Integer> {
    STATUS_1(1,"已上架"),
    STATUS_2(2,"已下架");


    private int value;
    private String desp;

    GoodsPointStatusEnum(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
